﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace SimpleSocxs
{
    public class PanelTitleRender : UserControl
    {
        public string Title { get; set; }
    }

    public class BaseRender : UserControl
    {
        public virtual object DataSource { get; set; }
    }

    public class CrazyRender : BaseRender
    {
        static Random rnd = new Random();
        public string RndPos 
        {
            get 
            {
                return rnd.Next(1000) + "px";
            }
        }
    }
}